<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="copyright" lang="ru" content="АвтоКартель" />

   

	<!-- blueprint CSS framework -->
   <!--  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" /> -->
    <!--[if lt IE 8]>
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
    <![endif]-->

    <!-- <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" /> -->

    <link href="<?php echo Yii::app()->request->baseUrl; ?>/css/client/bootstrap.css" rel="stylesheet">
    <link href="<?php echo Yii::app()->request->baseUrl; ?>/css/client/bootstrap-responsive.css" rel="stylesheet">

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<body data-spy="scroll" data-target=".bs-docs-sidebar">

	<div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <div class="nav-collapse collapse">
                    <div class="span3 offset1">
                        <ul class="nav">
                            <li class="">
                                <a class="brand" href="#">О компании</a>
                            </li>
                            <li class="">
                                 <a class="brand" href="#">Контакты</a>
                            </li>
                        </ul>
                    </div>
                    <!-- if authenticated -->
                        <div class="span4 offset2"> 
                            <ul class="nav">
                              <?php if (Yii::app()->user->isGuest): ?>                              
                                <li class="">
                                    <a class="brandnew" href="/registration/"><i class="icon-user icon-white"></i> Регистрация</a>                                    
                                </li>
                                <!-- <li class="">
                                    <a class="brandnew" href="#myLogin" data-toggle="modal"><i class="icon-home icon-white"></i> Войти</a>
                                </li> -->
                                <li class="dropdown">
                                  <a class="dropdown-toggle"
                                     data-toggle="dropdown"
                                     href="#"><i class="icon-home icon-white"></i>
                                      Войти
                                      <b class="caret"></b>
                                    </a>
                                  <ul class="dropdown-menu">   
                                  <div class="alert alert-success"> 
                                  <h6>Вход в личный кабинет</h6>
                                  
                                          <form name="login">
                                          <input type="text" name="email" class="input-medium" placeholder="Электронная почта">                                                
                                          <input type="password" name="password" class="input-medium" placeholder="Пароль">
                                          <div id="login_errors"></div> 
                                         
                                            <label class="checkbox">
                                              <input type="checkbox" name="save_password"><h6>Запомнить пароль</h6>
                                            </label>  
                                          </br>
                                            <p>                                                      
                                              <!-- <button type="submit" name="login" class="btn btn-primary">Войти</button> -->
                                              <input type="submit" name="login" class="btn btn-primary" value="Войти"/ >
                                              <button class="btn" type="button">Отмена</button>
                                            </p>                                                    
                                            <a href="#">Востановить пароль</a>
                                      
                                      Нет учетной записи? <a href="#"><b>Зарегистрироваться</b></a>
                                  
                                      <hr>
                                       Войти как пользователь:
                                       </br>
                                       <a href="#">
                                       <img class="img-font" src="<?php echo Yii::app()->request->baseUrl; ?>/img/vk.jpg" data-id="8022"></img></a>     
                                      <a href="#">
                                       <img class="img-font" src="<?php echo Yii::app()->request->baseUrl; ?>/img/fb.png" data-id="8022"></img></a>   
                                  </div>
                                  </form>
                                  </ul>
                                </li>
                              <?php else: ?>
                                <li class="">
                                    <a class="brandnew" href="/client/profile"><i class="icon-user icon-white"></i>Личный кабинет</a>                                    
                                </li>
                                <li class="">
                                    <a class="brandnew" href="/login/logout"><i class="icon-user icon-white"></i>Выйти</a>                                    
                                </li>
                              <?php endif; ?>
                                <!-- <li class="">
                                    <a class="brandnew" href="/bucket/"><i class=" icon-shopping-cart icon-white"></i> Корзина</a>
                                </li> -->
                                <li class="dropdown">
                                        <a class="dropdown-toggle"
                                           data-toggle="dropdown"
                                           href="#"><i class=" icon-shopping-cart icon-white"></i>
                                            Корзина
                                            <b class="caret"></b>
                                          </a>
                                        <ul class="dropdown-menu pull-right">
                                        <div class="row-fluid">
                                             <div class="span2">
                                            </div> 
                                             <div class="span5">
                                                <h4>Ваша корзина:</h4>
                                            </div> 
                                             <div class="span3">
                                            </div> 
                                        </div>
                                        <div class="row-fluid"> 
                                            <div class="span1">
                                            </div>  
                                            <div class="span2">
                                               <img class="img-font" src="../img/groups/korzina2.jpg" data-id="8022" width="150" height="150"></img>
                                                 </br> <b>Сумма заказа:</b> <h4><p class="text-success">3400.00грн</p></h4>
                                            </div>
                                            <div class="span6">
                                                <table class="table table-hover">
                                                    <tr>
                                                      <td><b>Артикул</b></td>
                                                      <td><b>Наименование</b></td>
                                                      <td><b>Количество</b></td>
                                                      <td><b>Сумма</b></td>
                                                      <td></td>
                                                    </tr>
                                                    <tr>
                                                      <td>334505</td>
                                                      <td>Амортизатор задний правый</td>
                                                      <td>4</td>
                                                      <td>2240.00</td>
                                                      <td><button value="удалить" data-toggle="modal"  href="#myDelete" type="submit" class="btn btn-mini btn-danger" type="button"><i class="icon-remove"></i></td>
                                                    </tr>
                                                    <tr>
                                                      <td>55448-68594</td>
                                                      <td>Амортизатор задний</td>
                                                      <td>2</td>
                                                      <td>1160.00</td>
                                                      <td><button value="удалить" data-toggle="modal"  href="#myDelete" type="submit" class="btn btn-mini btn-danger" type="button"><i class="icon-remove"></i></td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div class="span1">
                                            </div> 
                                            
                                        </div>
                                        <div class="row-fluid">
                                             <div class="span6">
                                            </div> 
                                             <div class="span6">
                                                <button class="btn btn-success" type="button">Оформить заказ</button>
                                                <button class="btn btn-info" type="button">Подробнее</button>
                                            </div> 
                                        </div>

                                        ______________________________________________________________________

                                        </ul>
                                      </li>
                            </ul>
                        </div>

                </div>
            </div>
        </div>
    </div>
	</br>
    </br>


    <div class="container">
        <div class="row-fluid">
            <div class="span4">
                <a href="/">
                    <img class="img-font"  alt=""
                                          src="<?php echo Yii::app()->request->baseUrl; ?>/img/newlogo.png" data-id="8022"></img>
                </a>
            </div>
            <div class="span4">
                
<!-- <img class="img-font" title="(057)777-0-666 (099)311-0-666 (093)789-0-666" alt="(057)777-0-666 (099)311-0-666 (093)789-0-666" src="<?php echo Yii::app()->request->baseUrl; ?>/img/phone.png" data-id="8022"></img>-->                       
                    <!-- <h5> (057)777-0-666 (099)311-0-666 (093)789-0-666</h5> -->
                    <p>
                        <div class="telephone">
                          (057)777-0-666&nbsp;  (099)311-0-666&nbsp; (093)789-0-666
                        </div>
                      </p> 
                        <div class="control-group error">   
                        <form class="form-search">
                        <div class="input-append">
                                    <input type="text" class="span16 search-query"  placeholder="Поиск артикула">
        
                              <button class="btn btn-danger" type="button" value="Поиск" onclick="parent.location='allprice.html'">  
                               Поиск
                              </button>
                        </div>
                     </div>           
                
                </form>
            </div>
            <!--Социалки-->
            <div class="span1">
                 <a href="#">
                 <img class="img-font" title="TWIT" alt="Regulators Expanded"  src="<?php echo Yii::app()->request->baseUrl; ?>/img/twit.png" data-id="8022"></img></a> 
                 <a href="#">
                 <img class="img-font" title="Наш канал" alt="Regulators Expanded" src="<?php echo Yii::app()->request->baseUrl; ?>/img/yt.png" data-id="8022"></img></a>
                 <a href="#">
                 <img class="img-font" title="SKYPE" alt="Regulators Expanded" src="<?php echo Yii::app()->request->baseUrl; ?>/img/skype.png" data-id="8022"></img></a> 
                  <a href="#">
                 <img class="img-font" title="Мы Вконтакте" alt="Regulators Expanded" src="<?php echo Yii::app()->request->baseUrl; ?>/img/vk.jpg" data-id="8022"></img></a>     
                 <a href="#">
                 <img class="img-font" title="Мы в Facebook" alt="Regulators Expanded" src="<?php echo Yii::app()->request->baseUrl; ?>/img/fb.png" data-id="8022"></img></a>   
                 <a href="#">
                 <img class="img-font" title="Мы в google+" alt="Regulators Expanded" src="<?php echo Yii::app()->request->baseUrl; ?>/img/google.png" data-id="8022"></img>
                </a>  
            </div>
            <div class="span2">
      
                <table class="table table-condensed">
                 <tr>
                    <td><b>1USD</b></td>
                    <td><b>8.22грн</b></td>
                 </tr>
                 <tr>
                    <td><b>1EUR</b></td>
                    <td><b>11.22грн</b></td>
                 </tr>
                </table>

              
    
    </div>
        </div>
    </div>

    <div class="container">
        <div class="row-fluid">
            <div class="navbar">
                <div class="navbar-inner">
                    <ul class="nav">
                        <li><h5>Каталоги:</h5></li>
                        <li><a href="cats.html">Оригинальные каталоги</a></li>
                        <li><a href="/tecdoc/index">Общий каталог</a></li>
                        <li><a href="#">Масла и автохимия</a></li>
                        <li><a href="#">Диски и шины</a></li>
                        <li><a href="#">Автостекла</a></li>
                        <li><a href="#">Тюнинг</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
<!--100%-->
        <div class="row-fluid">
            <?php echo $content; ?>
            
        </div>


	<footer class="footer">
        <div class="container">
          <div class="row">
            <div class="navbar">
              <div class="navbar-inner">
                <div class="span2 offset2">
                   <a class="brand"><b>О НАС</b></a>
                   <ul class="nav">
                       <li><a href="#">Компания</a></li></br>
                       <li><a href="#">Новости</a></li></br>
                       <li><a href="#">Акции</a></li>
                   </ul>
                </div>
                <div class="span2">
                  <a class="brand"><b>СЕРВИСЫ</b></a>
                  </br>
                  </br>
                   <ul class="nav">
                       <li><a href="#">Каталоги</a></li></br>
                       <li><a href="#">Дисконт</a></li></br>
                       <li><a href="#">Гараж</a></li>
                   </ul>
                </div>
                <div class="span2">
                  <a class="brand"><b>ПОМОЩЬ</b></a>
                  </br>
                  </br>
                   <ul class="nav">
                       <li><a href="#">Оплата и доставка</a></li></br>
                       <li><a href="#">Вопросы и ответы</a></li></br>
                       <li><a href="#">Гарантия и право на возврат</a></li>
                   </ul>
                </div>
                <div class="span2">
                  <a class="brand"><b>ТОВАРЫ</b></a>
                  </br>
                  </br>
                   <ul class="nav">
                       <li><a href="#">Запчасти</a></li></br>
                       <li><a href="#">Масла</a></li></br>
                       <li><a href="#">Диски и шины</a></li>
                   </ul>
                </div>
              </div>
            </div>
          </div>
          <div class="row">
            <h5>AutoCartel 2014</h5>
          </div>
        </div>
    </footer>
</body>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.js"></script> 
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<!-- <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.js"></script> -->
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-transition.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-alert.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-modal.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-dropdown.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-scrollspy.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-tab.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-tooltip.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-popover.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-button.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-collapse.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-carousel.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-typeahead.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-affix.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/holder/holder.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/google-code-prettify/prettify.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/application.js"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/client/login.js"></script>
</html>
